from 点餐系统.方法类.methods import canteen_methods


if __name__ == '__main__':
    print('~~~~~~~~~~~~welcome to Ns canteen~~~~~~~~~~~~')
    cm = canteen_methods()
    while True:
        status = input('扣1注册用户\n扣2登录\n')
        if status == '1':
            cm.member_add()
        elif status == '2':
            cm.member_check()
            cm.order_food()
            break
        elif status == '3':
            cm.come_in_canteen()
        else:
            break

